package com.dev.security.service;

import com.dev.security.vo.MenuVo;
import com.dev.security.vo.PageVo;
import com.dev.security.vo.RoleVo;
import com.dev.security.vo.UserVo;

import java.util.List;

/**
 * 角色Service
 *
 * @author yuboon
 * @version v1.0
 * @date 2020/04/04
 */
public interface RoleService {

    public int save(RoleVo roleVo);

    public int update(RoleVo roleVo);

    public int remove(int id);
    public int batchRemove(String ids);

    public PageVo<RoleVo> selectList(RoleVo roleVo, PageVo pageVo);

    public int assignMenu(int roleId,String menuIds);

    public List<MenuVo> selectMenuByRoleId(int roleId);

}
